import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

const store = new Vuex.Store({
    state: {
		a:111
	},
    mutations: {
		chesi(){
			this.state.a+=this.state.a
		}
	},
    actions: {
		 outIn (context) {
			context.commit('chesi')
		}
	}
})
export default store